-
Home
-
ShopApper: Mobile App for WooCommerce
-
0.3.42
-
Code
-
Classes
- CartController
Total Complexity |
50 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
355 |
Lines of code |
201 |
Logical lines of code |
121 |
Comment lines |
39 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_item() |
A |
47 |
9 |
32 |
update_cart() |
S |
57 |
5 |
15 |
update_item() |
S |
57 |
4 |
16 |
get_pre_order_info() |
S |
60 |
4 |
12 |
validate_session_token() |
S |
64 |
4 |
9 |
clear_cart() |
S |
62 |
3 |
11 |
init() |
S |
49 |
1 |
39 |
get_cart_data() |
S |
56 |
2 |
17 |
get_cart() |
S |
65 |
3 |
8 |
remove_item() |
S |
62 |
3 |
10 |
woocommerce_get_cart_page_id() |
S |
71 |
3 |
5 |
woocommerce_add_to_cart() |
S |
69 |
3 |
5 |
restore_item() |
S |
66 |
2 |
8 |
woocommerce_rest_is_request_to_rest_api() |
S |
71 |
2 |
5 |
__construct() |
S |
69 |
1 |
6 |
get_searched_product() |
S |
78 |
1 |
3 |